package com.ruixin.mvc.config;

/**
 * web配置
 */
public class WebConfiguration {

    /**
     * 设置静态资源
     * @param register
     */
    public void addStaticMapping(WebRegister register){
        register.registerStatic("/static/*","/static");
        register.registerStatic("/public/*","/static");
    }

    /**
     * 设置过滤器
     * @param register
     */
    public void addFilter(WebRegister register){

    }
}
